<!DOCTYPE html>
<html>

<head>
    <metacharset="UTF-8">
        <title>v-bind指令</title>
</head>

<body>
    <div id="app">
        <!--绑定一个有属性的对象 -->
        <form v-bind="form0bj">
            <input type="text">
        </form>
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/3.0.2/vue.global.prod.js"></script>
    <script>
        const vm = Vue.createApp({
            data() {
                return {
                    form0bj: {
                        method: 'get',
                        action: '#'
                    }
                }
            }
        }).mount('#app');
    </script>
</body>

</html>

</html>